* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: Arial, sans-serif;
    background: #f7f7f7;
    color: #333;
    line-height: 1.6;
  }
  
  header {
    background: #2e8b57;
    color: white;
    padding: 20px;
    text-align: center;
  }
  
  nav ul {
    list-style: none;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 20px;
  }
  
  nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
  }
  
  main {
    padding: 30px;
    max-width: 800px;
    margin: 0 auto;
  }
  
  section {
    margin-bottom: 40px;
  }
  
  .about h2{
    
    margin-bottom: 10px;}
  .contact h2 {
   
    margin-bottom: 10px;
  }
  
  footer {
    background: #2e8b57;
    color: white;
    text-align: center;
    padding: 15px 0;
    position: relative;
    bottom: 0;
    width: 100%;
  }
  nav:hover{color: #f7f7f7;}
  h2{text-align: center;}
  .hero {
    position: relative;
    height: 300px;
    overflow: hidden;
  }
  
  .hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  .hero h2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2em;
    background-color: rgba(0, 0, 0, 0.5); /* halvt genomskinlig bakgrund */
    padding: 10px 20px;
    border-radius: 8px;
    text-align: center;
  }
  ul{
    text-align: center;
  }
 


header.shrink {
  padding: 10px 0;
}

header h1 {
  transition: font-size 0.3s ease;
  font-size: 2rem;
}

header.shrink h1 {
  font-size: 1.5rem;
}

body {
  padding-top: 80px; 
}
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #2e8b57; 
  color: white;
  padding: 20px 0;
  text-align: center;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
/* css till bild boxarna i main sidan */
.info-boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
}

.info-box {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  flex: 1 1 30%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.info-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.info-box img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 15px;
}

.info-box h3 {
  color: #2e8b57;
  margin-bottom: 10px;
}

.info-box p {
  font-size: 0.95em;
}
.board-members {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.member {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  width: 200px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.member img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 10px;
}

.member h3 {
  margin: 10px 0 5px;
  color: #2e8b57;
}

.member p {
  font-size: 0.9em;
  color: #555;
}
.page-content {
  padding-top: 100px; /* justera detta om headern är större/mindre */
  
  
}
textarea {
  resize: vertical;
  height: 150px;
  max-height: 300px;
}
form {
  display: flex;
  flex-direction: column;
  gap: 15px; /* Ger lite mellanrum mellan varje fält */
  max-width: 500px;
  margin: 0 auto;
}
textarea {
  resize: vertical;
  min-height: 150px;
  font-family: inherit;
  padding: 10px;
}
nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #ffd700 !important;
  text-decoration: underline;
}